package com.iespring.bean.admin.order.bo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.ArrayList;
import java.util.Date;

/**
 * @Author: 浩澄
 * @Date: 2022/12/28-22:28
 * @Mission: #查询订单需要的信息
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderListBo {
    private Integer page;
    private Integer limit;
    private ArrayList<Short> orderStatusArray;
    private String sort;
    private Integer orderId;
    private String order;
    @DateTimeFormat(pattern = "yy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yy-MM-dd HH:mm:ss")
    private Date start;
    @DateTimeFormat(pattern = "yy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yy-MM-dd HH:mm:ss")
    private Date end;
    private Integer userId;
    //订单编号
    private Integer orderSn;
}
